<template>
  <div id='base-container'>
    <div class='base-container-title'>
      <div class='title-text'>
        <slot name='title' />
      </div>
    </div>
    <div class="content">
      <slot />
    </div>
  </div>
</template>
<style lang='less' scoped>
#base-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background-image: url(@/assets/full-screen.jpg);
  background-size: 100% 100%;
  .base-container-title {
    width: 100%;
    height: 86px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    .title-text {
      font-size: 44px;
      font-weight: 500;
      color: #FFFFFF;
    }
  }
  .content {
    width: 100%;
    flex: 1;
    padding: 12px;
    box-sizing: border-box;
  }
}
</style>
